JDBC Driver Connection Strings for Java RESTful Engine
note
This is a guide to structuring your connection strings for SQLServer, MySQL, Oracle and DB2 databases, along with an example request bodies for each. If you don't know how to construct a request body, please refer to the template section of our swagger documentation.
#
SQL ServerIn the request body, you want to have:
- Type = ado
- ClassName = com.microsoft.sqlserver.jdbc.SQLServerDriver The connection string should look like:
Here is an example request body:
#
MySQLIn the request body, you want to have:
- Type = ado
- ClassName = com.mysql.cj.jdbc.Driver The connection string should look like:
Here is an example request body:
#
OracleIn the request body, you want to have:
- Type = ado
- ClassName = oracle.jdbc.OracleDriver The connection string should look like:
Here is an example request body:
#
DB2In the request body, you want to have:
- Type = ado
- ClassName = com.ibm.db2.jcc.DB2Driver The connection string should look like:
Here is an example request body: